<?php
class Form_UserLogin extends QForm
{
	function __construct($action)
	{
		parent::__construct('form_userlogin',$action);
		
		$filename=rtrim(dirname(__FILE__),'/\\').DS.'userlogin_form.yaml.php';
		$this->loadFromConfig(Helper_YAML::loadCached($filename));
		$this->addValidations(User::meta());
	}
}